AcVendor\Brick\Math\BigDecimal C

Total Complexity 115
Dependencies 8
Dependents 15
Total lines 734
Lines of code 354
Logical lines of code 219
Comment lines 333
Methods 42
Properties 2

Methods 42

Method Rating Maintainability Complexity Lines of code
sqrt()
S
53 7 23
dividedBy()
S
55 7 18
plus()
S
59 6 13
exactlyDividedBy()
S
53 5 21
getUnscaledValueWithLeadingZeros()
S
55 5 20
stripTrailingZeros()
S
56 5 19
withPointMovedRight()
S
57 5 17
multipliedBy()
S
61 5 12
power()
S
61 5 12
scaleValues()
S
62 5 10
minus()
S
62 4 10
quotientAndRemainder()
S
60 3 13
compareTo()
S
62 3 11
remainder()
S
62 3 11
valueWithMinScale()
S
67 3 7
getSign()
S
77 3 3
withPointMovedLeft()
S
65 3 9
one()
S
69 2 7
zero()
S
69 2 7
abs()
S
79 2 3
ten()
S
69 2 7
ofUnscaledValue()
S
69 2 6
__toString()
S
67 2 7
unserialize()
S
66 2 8
getIntegralPart()
S
68 2 7
getFractionalPart()
S
68 2 7
quotient()
S
63 2 10
toBigInteger()
S
74 2 4
__unserialize()
S
68 2 7
toScale()
S
70 2 6
serialize()
S
80 1 3
__serialize()
S
78 1 3
hasNonZeroFractionalPart()
S
78 1 3
toFloat()
S
80 1 3
toInt()
S
81 1 3
toBigRational()
S
71 1 5
toBigDecimal()
S
82 1 3
getScale()
S
82 1 3
getUnscaledValue()
S
80 1 3
of()
S
79 1 3
negated()
S
79 1 3
__construct()
S
77 1 4